package com.func.domain.activity.service.product;

import com.func.domain.activity.model.entity.SkuProductEntity;
import com.func.domain.activity.repository.IActivityRepository;
import com.func.domain.activity.service.IRaffleActivitySkuProductService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * RaffleActivitySkuProductService
 * </p>
 *
 * @author Simon
 * @version 2025.03.24.1.0.0
 * @description sku商品服务
 * @since 2025-03-24
 */

@Service
public class RaffleActivitySkuProductService implements IRaffleActivitySkuProductService {
    @Resource
    private IActivityRepository activityRepository;
    @Override
    public List<SkuProductEntity> querySkuProductEntityLIstByActivityId(Long activityId) {
        return activityRepository.querySkuProductEntityListByActivityId(activityId);
    }
}
